package com.fmsz.xmly.callbacks;

import com.fmsz.xmly.entitys.details.DetailEntity;
import com.fmsz.xmly.entitys.details.DetailListEntity;
import com.fmsz.xmly.entitys.details.music.MusicEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/1/23.
 */

public interface HttpService {
    //列表item详情播放列表数据
    @GET("mobile/v1/album")
    Call<DetailListEntity> getDetailList(@Query("albumId") String albumId);
    //列表item详情页详情数据
    @GET("mobile/v1/album/detail")
    Call<DetailEntity> getDetailData(@Query("albumId") String albumId);
    //播放页面音乐数据
    @GET("v1/track/ca/playpage/{trackId}/")
    Call<MusicEntity> getMusicData(@Path("trackId") long trackId);
}